﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Utilities.Excel.Export.Group
{

    public class ColumnGroup:GroupBase
    {
        /// <summary>
        /// 列开始位置
        /// </summary>
        public short ColumnStartIndex { get; set; }

        /// <summary>
        /// 列结束位置
        /// </summary>
        public short ColumnEndIndex { get; set; }
        
        
        #region Overrides of GroupBase
        /// <summary>
        /// 组合操作
        /// </summary>
        public override void DoGroup()
        {
            hsheet.GroupColumn(ColumnStartIndex, ColumnEndIndex);
        }

        #endregion
    }
}
